//
//  iPhoneSession.h
//  SCRAP_ObjC
//
//  Created by Capstone Design Fall 2010 on 11/14/10.
//  Copyright 2010 Thunderwear. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <GameKit/GameKit.h>
#import "Card.h"

@interface iPhoneSession : NSObject <GKSessionDelegate> {

	GKSession		*gameSession;
	NSString		*gamePeerId;
	NSString		*playerName;
	BOOL			GameOver;
	
	CGSize size;
	id gameDelegate;
	
}

@property (nonatomic, assign) id gameDelegate;
@property (nonatomic, assign) NSString * gamePeerId;
@property (nonatomic, assign) BOOL GameOver;
@property (nonatomic, assign) NSString * playerName;


- (void) startPicker;
- (void) sendCard:(Card*)x;
- (void) updateReserveCount:(int)cnt;
- (NSString *) displayNameForPeer:(NSString *)peerID;
- (void)invalidateSession;

@end

